from django.contrib import admin
from django.urls import path, include
from django.views.static import serve
from django.conf import settings

urlpatterns = [
    path('admin/', admin.site.urls),
    path('api/v1/userinfo/', include('user.urls')),
    path('api/v1/home/', include('home.urls')),
    path('api/v1/classify/', include('classify.urls')),
    path('api/v1/address/', include('address.urls')),
    path('api/v1/goodsshelf/', include('goods.urls')),
    path('api/v1/orderform/', include('orderform.urls')),
    path('api/v1/shopcar/', include('car.urls')),
    path('media/<path:path>', serve, kwargs={'document_root': settings.MEDIA_ROOT}),
]
